extends Node

## 数据管理器
## 负责管理全局游戏数据

var bag_data = BagData.new()
var player: Node3D = null  # 玩家节点引用
var map_rid:RID

## 获取玩家节点
## @return Node3D: 玩家节点引用
func get_player() -> Node3D:
	return player

## 设置玩家节点
## @param player_node: 玩家节点
func set_player(player_node: Node3D):
	player = player_node
